package com.example.enjoyarkuix.stagefragment;

import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;


import ohos.stage.ability.adapter.StageFragment;

public class OneFragment extends StageFragment {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        Log.e("HiHelloWorld", "OneFragment onCreate");

        setInstanceName("com.example.enjoyarkuix_ios:entry:FragmentAbilityOne:");
        super.onCreate(savedInstanceState);
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        Log.i("HiHelloWorld", "OneFragment onCreateView");
        return super.onCreateView(inflater,container,savedInstanceState);
    }
    @Override
    public void onResume() {
        Log.i("HiHelloWorld", "OneFragment StageFragment onResume");
        super.onResume();
    }
    @Override
    public void onStop() {
        Log.i("HiHelloWorld", "OneFragment StageFragment onStop");
        super.onStop();
    }

    @Override
    public void onDestroy() {
        Log.i("HiHelloWorld", "OneFragment StageFragment onDestroy");
        super.onDestroy();
    }

    @Override
    public void onHiddenChanged(boolean hidden){
        Log.i("HiHelloWorld", "OneFragment StageFragment onHiddenChanged:"+hidden);
        super.onHiddenChanged(hidden);
    }


}
